#include <enet/enet.h>

/*
A little self talking first, since p2p progamming is not easy.
Firstly, all sockets enforce the client/server model, so it's required to bypass this model by making peers having both a client and server, which we might also call sender/receiver. The receiver always listen for packets, the sender occasionnaly send packets.

In xnet, there are peers which are considered clients, and there are reference servers, which hold contact-key lists, ads/offers database, and local data.

Most users will just be peers, but you can also become a server by hosting ads/offers and maybe localization data.

Bears in mind that in order to make the data secure, you will only host a part of the data, not all of it. 
*/

struct xnet
{

};